Get Address Book
This object is used to get the address book with the help of the shipper hash or address book id.
URL Config
Endpoint: https://api-stage.dps.io/api
APIVersion: v1
route: addressbook
path: <YOUR_ADDRESS_BOOK_ID>
Method
GET
URL
https://api-stage.dps.io/api/v1/addressbook/187
Request Headers
{
"Content-Type": "application/json",
"x-api-key": "<YOUR_API_KEY>",
"ShipperHash": "<YOUR_SHIPPER_HASH>"
}
Curl request
curl --location --request GET 'https://api-stage.dps.io/api/v1/addressbook/187' \
--header 'x-api-key: xxxxxxdfjbdjdfjdhfxxxxxxx' \
--header 'ShipperHash: 05K9****************************JG6a'
Response
{
"Id": 199,
"ShipperHash": "05K9****************************JG6a",
"Name": "My First address Book",
"Description": "This is a Test Address book description",
"Tags": "TagsTagsTags",
"CreatedDate": "2022-11-10 21:17:37.118692",
"LastModified": "2022-11-10 21:17:37.118692"
}